//
//  MainmenuLayer.h
//  DiceWar
//
//  Created by Xiao  Feng on 17/6/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#ifndef CLASSES_LAYERS_MAINMENULAYER_H_
#define CLASSES_LAYERS_MAINMENULAYER_H_

#include "cocos2d.h"

class MainmenuLayer : public cocos2d::CCLayer
{
public:
    LAYER_NODE_FUNC(MainmenuLayer);
    
    bool init(); 
    
private:
    bool initBackground();
    bool initButtons();
    
    void onStartButtonDown(cocos2d::CCObject* pObject);
};

#endif //CLASSES_LAYERS_MAINMENULAYER_H_
